<html xmlns:th="http://www.thymeleaf.org">
<head th:include="layout :: htmlhead" th:with="title='Hello'"></head>

<body>
<div th:replace="layout :: navbar">(navbar)</div>

<div class="container">
    <div class="starter-template">
        <form class="demo-add-form" th:action="@{/user/add}" method="post">
            <div class="form-group">
                <label for="exampleInputName2">用户名：</label>
                <input type="text" name="userName" class="form-control" id="exampleInputName2" placeholder="user name" />
            </div>
            <div class="form-group">
                <label for="exampleInputEmail2">Email</label>
                <input type="email" name="email" class="form-control" id="exampleInputEmail2" placeholder="jane.doe@example.com"/>
            </div>
            <div class="form-group">
                <button type="submit" class="btn btn-info">保存</button>
            </div>

        </form>
    </div>
</div>

<div th:include="layout :: footer" id="footer">(footer)</div>

</body>
</html>
